/*Author: Seungbeom Ma
 *SJSU 
 * DATE: NOV 16
 * */

package tool.screen.selection;

import com.example.projectmobilecloud.R;

public class MainSelection_Tool {
	//opt = 1 num of workflow
	// opt = 2 running selection
	public int Get_Option(int radio_workflow , int opt){
		
		if(opt == 0){
			if(radio_workflow == R.id.radio_workflow_twenty){
				return 1;
			}
			else if(radio_workflow == R.id.radio_workflow_fifty){
				return 2;
			}
			else{
				return 3;
			}
		}
		else{
			if(radio_workflow == R.id.radioLocal){
				return 1;
			}
			else if(radio_workflow == R.id.radioCloud){
				return 2;
			}
			else{
				return 3;
			}
			
		}
		

		
	}
}
